home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
tori
/
sharedi.cst
/
03027_Script_3027
< prev
next >
Wrap
Text File
|
1983-01-27
|
1KB
|
42 lines
on HILITE _inizio,_fine,_sprite, _cast_name
global attore,men
set elewin to string (the windowlist)
if offset ("menubar",elewin) > 0 then
if the visible of window "menubar" = true then
exit
end if
end if
if offset ("popup",elewin) > 0 then
if the visible of window "popup" = true then
exit
end if
end if
if not voidp (_cast_name) then
set _cast_hilite to _cast_name
else
set _cast_hilite to "ms000"
end if
global dove
set _num to _fine-_inizio
set _libero to true
put "num fine e inizio", _num,_fine,_inizio
repeat while _num>=0
if dove<>_num+1 then
if rollOver(_num+_sprite) and _libero then
set the member of sprite (_num+_sprite) to member (_fine+_num+1) of castLib _cast_hilite
set _libero to false
else
set the member of sprite (_num+_sprite) to member (_inizio+_num) of castLib _cast_hilite
end if
end if
set _num to _num-1
end repeat
end
-- Spiegazione della procedura HILITE
-- _inizio: primo membro (immagine)
-- _fine: ultimo membro (immagine)
-- _sprite: posizione nello score del primo membro
-- _cast_name: cast che contiene gli hilite (di default e' "Ms000" )